﻿<?xml version="1.0" encoding="utf-8" ?>
<configuration>

  <serviceBusConfig objectManagerType="PServiceBus.Redis"
                    address="endpoint://guest:guest@localhost:6379/" messageRetryCount="5"
                    messageStoreAddress="endpoint://guest:guest@localhost:6383/"
                    resequenceMessageAddress="endpoint://guest:guest@localhost:6385/"
                    keyValueStoreAddress="endpoint://guest:guest@localhost:6386/"
                    deadMessageAddress="endpoint://guest:guest@localhost:6382/"/>

  <distributorConfig address="endpoint://guest:guest@localhost:6384/"
                     addressID="d1" enabled="true" componentServiceInfoAddress="endpoint://guest:guest@localhost:6384/"/>

  <messageStoreConfig>
    <store name="default" enabled="true" type="PServiceBus.MessageStores.DefaultMessageStore" address="Server=(local);Database=servicebus;Trusted_Connection=yes;MultipleActiveResultSets=True"/>
    <!--<store name="notification" type="PServiceBus.MessageStores.MessageStoreNotification" />-->
  </messageStoreConfig>

  <subscriptionManagerConfig>
    <manager name="redis" type="PServiceBus.SubscriptionManagers.RedisSubscriptionManager" address="endpoint://guest:guest@localhost:6380/"/>
  </subscriptionManagerConfig>
  
</configuration>